package com.itbaizhan.openhis.pay.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
//读取yml文件中alipay 开头的配置
@ConfigurationProperties(prefix = "alipay")
public class AlipayConfig {

    //应用ID
    private String appId;

    //商户私钥
    private String privateKey;

    //支付宝公钥
    private String publicKey;

    //签名方式
    private String signType;

    //支付宝开放安全地址
    private String gatewayUrl ;

    //编码
    private String charset;

    //异步通知地址
    private String notifyUrl;

    //订单完成后返回的页面
    private String returnUrl;

    //类型
    private String format;

    //商户号
    private String sysServiceProviderId;

}
